package cn.com.enersun.iec61850.integratedDataProcessing;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by YYC on 2017/4/27.
 */
public class TableListDetail {

    @JsonProperty("childData")
    private List<String> childData;
    @JsonProperty("childNodeType")
    private String childnodetype;
    @JsonProperty("ID")
    private String id;
    @JsonProperty("icon")
    private String icon;

    public TableListDetail(List<String> childData, String childnodetype, String id, String icon) {
        this.childData = childData;
        this.childnodetype = childnodetype;
        this.id = id;
        this.icon = icon;
    }

    public List<String> getChildData() {
        return childData;
    }

    public void setChildData(List<String> childData) {
        this.childData = childData;
    }

    public String getChildnodetype() {
        return childnodetype;
    }

    public void setChildnodetype(String childnodetype) {
        this.childnodetype = childnodetype;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    @Override
    public String toString() {
        return "TreeTableElement{" +
                "childData=" + childData +
                ", childnodetype='" + childnodetype + '\'' +
                ", id='" + id + '\'' +
                ", icon='" + icon + '\'' +
                '}';
    }
}
